#ifndef LOG_ENCODER_P_H
#define LOG_ENCODER_P_H

#include <QtCore/QHash>
#include <QtCore/QVariant>
#include "logmanager/log_manager.h"

namespace smsrouter {

class LogEncoderPrivate {
public:
  LogEncoderPrivate();

  ~LogEncoderPrivate();

  smslog::LogManager *log_manager;

  QByteArray encode(const QMultiHash<int, QVariant> &parameters) const;

  QByteArray encode(const QVariant &val) const;

  QByteArray encode(bool p) const;

  QByteArray encode(char p) const;

  QByteArray encode(int p) const;

  QByteArray encode(uint p) const;

  QByteArray encode(const QString &p) const;
};

} // namespace smsrouter

#endif // LOG_ENCODER_P_H
